package com.yh.patterns.factory.simple_factory;

/**
 * @Auther:云尚学Java
 * Coffee类
 */
public abstract class Coffee {
    public abstract String getName();
    //1.加糖
    public void addSugar(){
        System.out.println("加糖");
    }
    //2.加奶
    public void addMilk(){
        System.out.println("加奶");
    }
}
